package com.defeng.system.remote;

import com.defeng.common.core.constant.ServiceNameConstants;
import com.defeng.common.core.domain.R;
import com.defeng.system.factory.RemoteTaskFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @ProjectName: lxdf-cloud-6.20
 * @Package: com.defeng.system.remote
 * @ClassName: RemoteTaskservice
 * @Author: 86158
 * @Description: 远程调用业务
 * @Date: 2022/6/30 14:24
 * @Version: 1.0
 * 谢德丰
 */
@FeignClient(contextId = "RemoteTaskservice", path = "/systemUserTask",value = ServiceNameConstants.SYSTEM_SERVICE, fallbackFactory = RemoteTaskFallbackFactory.class)
public interface RemoteTaskservice {

    @GetMapping("/initCache")
    public R initCache();
}
